package com.chixing.service.impl;

import com.chixing.entity.Coupon;
import com.chixing.entity.DishType;
import com.chixing.mapper.CouponMapper;
import com.chixing.service.ICouponService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Yebken.
 * @since 2025-06-25
 */
@Service
public class CouponServiceImpl implements ICouponService {

    @Autowired
    private CouponMapper couponMapper;

    @Override
    public List<Coupon> getAll() {
        List<Coupon> couponList = couponMapper.selectList(null);
        return couponList;
    }
}
